import axios from "axios";

const service = axios.create({
  baseURL: "/",
  timeout: 1000 * 30,
  header: {
    "Content-Type": "multipart/form-data;",
  },
});

service.interceptors.request.use(
  (config) => {
    return config
  },
  (err) => err
);

service.interceptors.response.use(
  (response) => {
    const res = response.data;
    return res;
  },
  (err) => err
);

export default service;
